package com.learn.hibernatevalidator.chapter09.providerresolver;

import jakarta.validation.ValidationProviderResolver;
import jakarta.validation.spi.ValidationProvider;
import org.hibernate.validator.HibernateValidator;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: liyf
 * @create: 2025-01-19 21:14
 **/
public class OsgiServiceDiscoverer implements ValidationProviderResolver {

    @Override
    public List<ValidationProvider<?>> getValidationProviders() {
        System.out.println("OsgiServiceDiscoverer.getValidationProviders");
        List<ValidationProvider<?>> providers = null;
        return providers;
    }
}
